package org.lboot.idmo.module.rsr;

import org.springframework.data.jpa.repository.support.JpaRepositoryImplementation;

import java.util.List;

public interface AuthRsrDAO extends JpaRepositoryImplementation<AuthRsr, Long> {

    List<AuthRsr> findByType(String type);

    List<AuthRsr> findByParentId(Long parentId);

    List<AuthRsr> findByParentIdAndType(Long parentId, String type);

}
